namespace CSharpPro2._1030;

public class Demo
{
    private int _id;
    private String name;

    public Demo()
    {
    }

    public Demo(int id, string name)
    {
        this._id = id;
        this.name = name;
    }

    public int Id
    {
        get { return _id; }
        set => _id = value;
    }

    public String Name
    {
        get { return name; }
        set => name = value;
    }
}